Nevron Open Vision Documentation
Nevron.Nov.DataStructures Namespace / NBlocksStack<T> Class / EnforceDepth Method


In This Topic
    EnforceDepth Method (NBlocksStack<T>)
    In This Topic
    Enforces a certain depth of the stack by removing the first objects, until the stack count reaches the specified one
    Syntax
    'Declaration
     
    
    Public Sub EnforceDepth( _
       ByVal count As System.Integer _
    ) 
    'Usage
     
    
    Dim instance As NBlocksStack(Of T)
    Dim count As System.Integer
     
    instance.EnforceDepth(count)
    public void EnforceDepth( 
       System.int count
    )

    Parameters

    count
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also